package com.huibur.devicecheck.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huibur.devicecheck.model.po.CheckItemPO;
import com.huibur.devicecheck.model.query.CheckItemQuery;
import com.huibur.devicecheck.model.vo.CheckItemVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/*******************************************************
* @title: CheckItemMapper.xml.java
* @description:
* @author wushiqi
* @date 2021/9/30
* @version 1.0
*******************************************************/
@Repository
@Mapper
public interface CheckItemMapper extends BaseMapper<CheckItemPO> {

    /**
     * 检查项分页模糊查询
     * @param page
     * @param checkItemQuery
     * @return
     */
    IPage<CheckItemVO> selectCheckItemList(Page<CheckItemPO> page, CheckItemQuery checkItemQuery);
}
